home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / answrbok / 6_15.lha / 6_15 / 6_15h13.h < prev    next >
Text File  |  1993-08-08  |  276b  |  14 lines

  1. * Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
  2. * The C++ Answer Book */
  3. * Tony Hansen */
  4. * All rights reserved. */
  5. / x += a
  6. ec4 vec4::operator+=(vec4 a)
  7.  
  8.    f[0] += a.f[0];
  9.    f[1] += a.f[1];
  10.    f[2] += a.f[2];
  11.    f[3] += a.f[3];
  12.    return *this;
  13.  
  14.